Memsource\Service\Content\AbstractPostService S

Total Complexity 42
Dependencies 16
Dependents 0
Total lines 373
Lines of code 206
Logical lines of code 114
Comment lines 76
Methods 16
Properties 5

Methods 16

Method Rating Maintainability Complexity Lines of code
addOrUpdateTranslation()
A
42 7 52
getItems()
A
51 8 25
copyPermalinkIfEnabled()
S
60 4 13
saveTranslation()
S
53 3 21
getItem()
S
59 3 13
getPostJson()
S
53 2 22
transferTermsFromSourceToTarget()
S
66 3 8
getLastRevision()
S
62 2 12
allowStyleTag()
S
69 2 7
getPreviewPostLink()
S
69 2 6
__construct()
S
66 1 8
getBaseType()
S
82 1 3
isFolder()
S
82 1 3
getPost()
S
76 1 4
calculatePostSize()
S
78 1 3
getPostJsonWithOriginalData()
S
69 1 6